import unicodedata

# 获取常用汉字的Unicode范围
common_chinese_characters = []
for codepoint in range(0x4E00, 0x9FFF + 1):
    char = chr(codepoint)
    if 'CJK UNIFIED IDEOGRAPH' in unicodedata.name(char, ''):
        common_chinese_characters.append(char)

# 打印常用汉字及其Unicode编码
current_prefix = None
for char in common_chinese_characters:
    unicode_hex = f"0x{ord(char):04X}"
    prefix = unicode_hex[:4]
    
    if prefix != current_prefix:
        if current_prefix is not None:
            print()
        current_prefix = prefix
        print(unicode_hex, end=' ')
    else:
        print(unicode_hex, end=' ')
    
    print(char, end=' ')

print()